OpenRoads Designer CONNECT Edition SDK Help

StrokeByChord(Double, LinearPointCollection) Method

Strokes element by chord.

Definition

Namespace: Bentley.CifNET.LinearGeometry Assembly: Bentley.CifNET.LinearGeometry.4.0 (in Bentley.CifNET.LinearGeometry.4.0.dll) Version: 1.0.0.0 (99.99.99.99)

C#

public  LinearPointCollection StrokeByChord(double chordTolerance, LinearPointCollection linearPoints)

Parameters

SettingDescription
   Chord stroking tolerance.
  LinearPointCollection Initial linear point collection.

Return Value

LinearPointCollection Collection of stroked points.

Remarks

The stroked points are added between subsequent points of the initial point collection. So the curve is stroked with the chord for each segment between those points. This method allows creating a collection of points along a curve with different criteria and apply them consecutively. The order in which the stroking is applied determines the priority of one of the criteria.

See Also